#ifndef CSKELETON_H

#define CSKELETON_H

#include "CUnit.h"
#include "Typedef.h"

class CSkeleton : public CUnit
{
public :
					CSkeleton(void);
					CSkeleton(int _nUnitNumber, ls_Unit *_Enumys, SUnitAbility const &_Ability, int _nX, int _nY, CBuilding* _pEnumyBuildng, ls_FlyObject* _ls_FlyObject, int* _pFlyObjectNumber);
					~CSkeleton(void);
			int		GetX(void);
			int		GetGold(void);

			bool	Hit(int _nDamage, int _nUnitType);

private :
			void	Move(void);
			void	Attack(void);
			void	SearchEnumy(void);
			void	BuildingAttack(void);

			bool	SearchBuilding(void);

			int* m_pFlyObjectNumber;

			ls_FlyObject* m_pFlyObjects;
};

#endif